[ORG 0x7c00]

section .data
BOOT_MAIN_ADDR equ 0x500

section .text
[BITS 16]
global  boot_start
boot_start:
      ;设置屏幕模式为文本模式，清除屏幕
      mov ax, 3
      int 0x10

      ;将setup读入内存
      mov  edi, BOOT_MAIN_ADDR
      mov  ecx, 1
      mov  bl,  2
      call read_hd



print: 
      mov ah, 0x0e


times 510 - ($ - $$) db 0
db 0x55,0xaa